home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 13 - 1997 (partial) / 13.05 May 97 / Getting Started / Number.h < prev    next >
Encoding:
Text File  |  1997-03-26  |  203 b   |  19 lines  |  [TEXT/R*ch]

  1. //#ifndef _Number_h_
  2. //#define _Number_h_
  3.  
  4. #import <objc/Object.h>
  5. //#include <objc/Object.h>
  6.  
  7.  
  8. @interface Number : Object
  9. {
  10.   int    value;
  11. }
  12.  
  13. - init:(int)startValue;
  14. - squareSelf;
  15. - print;
  16.  
  17. @end
  18. //#endif
  19.